package com.b2b.service.impl;

import com.b2b.mapper.SystemRoleMapper;
import com.b2b.model.entity.system.SystemRole;
import com.b2b.service.SystemRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class SystemRoleServiceImpl extends BaseServiceImpl<SystemRole> implements SystemRoleService {
    @Autowired
    SystemRoleMapper systemRoleMapper;
    public List<SystemRole> selectSystemRoleById(Integer roleId) {
        return systemRoleMapper.selectSystemRoleById(roleId);
    }
}
